p $tmp=0
while $tmp<$cpu_number
  eval "tvariable $per_cpu_c_%d",$tmp
  eval "tvariable $per_cpu_cy_%d",$tmp
  eval "tvariable $per_cpu_tmp_0_%d",$tmp
  p $tmp=$tmp+1
end

#trace netif_receive_skb
#list e1000_clean_rx_irq
#trace 804
#list e1000_clean_rx_irq
#trace 887
#list e1000_clean_rx_irq
#trace 887
#list e1000_clean_rx_irq
#trace 890
#list e1000_clean_rx_irq
#trace 895
#list e1000_receive_skb
#trace 455
list netif_receive_skb
trace 1961
  commands
    teval $per_cpu_c_0=$per_cpu_c_0+1
    teval $per_cpu_tmp_0_0=$clock
  end

#list netif_receive_skb
#trace 2008 if ($per_cpu_c_0>100)
#list e1000_clean_rx_irq
#trace 830 if ($per_cpu_c_0>100)
#list e1000_clean_rx_irq
#trace 898 if ($per_cpu_c_0>100 && $per_cpu_tmp_0_0 != 0)
#list e1000_clean_rx_irq
#trace 888 if ($per_cpu_c_0>100 && $per_cpu_tmp_0_0 != 0)
#list e1000_clean_rx_irq
#trace 894 if ($per_cpu_c_0>100 && $per_cpu_tmp_0_0 != 0)
#list e1000_clean_rx_irq
#trace 898 if ($per_cpu_c_0>100 && $per_cpu_tmp_0_0 != 0)
#list netif_receive_skb
#trace 1936 if ($per_cpu_c_0>100 && $per_cpu_tmp_0_0 != 0)
list netif_receive_skb
trace 2004 if ($per_cpu_c_0>100 && $per_cpu_tmp_0_0 != 0)
  commands
    teval $per_cpu_cy_0=$clock-$per_cpu_tmp_0_0+$per_cpu_cy_0
    teval $per_cpu_tmp_0_0=0
  end

define showall
p $per_cpu_cy_0/($per_cpu_c_0-100)
end
